home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Aug 89 / X0009-Re Really nasty…-Aug89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.6 KB  |  41 lines  |  [TEXT/GEOL]

  1. Item    0714859                         2-Aug-89        18:54
  2.  
  3. From:   MCCARTHY4                       McCarthy, Brendan
  4.  
  5. To:     D2086                           Efficient Field Svc, C Faith, PRT
  6.  
  7. cc:     MACAPP.TECH$                    MACAPP Tech
  8.  
  9. Sub:    Response to Really nasty…
  10.  
  11. Hi Curt,
  12.  
  13. I also encountered this phenomenon when converting from ß5 to ß9.  It's not a
  14. bug in MacApp, but something more insidious (read "I spent a couple of very
  15. frustrating hours in TMON trying to debug this one.")
  16.  
  17. In general, your problem is that you must have some object file that was
  18. created with compiler options that differ from those that MacApp 2.0ß9 uses.
  19. The particular option that hosed me was the '-mbg ch8' option.  Apparently, MPW
  20. v2.0 compatible MacsBug symbols are MacApp v2.0ß9 incompatible.
  21.  
  22. From the listing you posted, I would suspect UDynArray.p.o.
  23.  
  24. Now for the (partial) flame:
  25. <<flame on>>
  26. I encountered this problem (and several other time-burners) while trying to
  27. create a library that includes object files from a couple of my own MacApp
  28. units, plain Pascal, assembly, and C.  I wish the MAmake mechanism was a little
  29. more flexible.
  30. Currently, it assumes that you want an application whenever you build anything
  31. with MacApp.  In my case, in order to correctly create the library, I had to
  32. hack the 'Build Rules and Dependencies' script to echo {PascalOptions} so I
  33. could see what they were (since they are UnExported when the MAmake tool is
  34. finished executing.)  Then I had to use those same Pascal options to create a
  35. bogus SomethingLib.MAmake file script.
  36. << flame off>>
  37.  
  38. Hope that helps,
  39. Brendan McCarthy
  40.  
  41.